<?php
$post_type = get_post_type();
//echo $post_type;
//echo is_page( 'products-page' ) ? 'y':'n';
switch($post_type){
	case 'wpsc-product':
		require('inc-page-wpsc.php');
		break;
	case 'page':
		if( is_page( 'products-page' ) ){
			require('inc-page-wpsc.php');
		}else{
			require('inc-page-wp.php');
		}
		break;
	default:
		require('inc-page-wp.php');
		break;
}
?>


